#pragma once
#include "Enemy.h"

class Elf : public Enemy
{
public:
	Elf();
	virtual ~Elf();

	/**********************************************************/
	// Interface:
	//	- virtual functions for children classes to override
	virtual void	Update(float elapsedTime)		override;
	virtual void Render();

	//	virtual SGD::Rectangle GetRect(void)	const			override;
	virtual int		GetType(void)	const			override	{ return OBJ_ENEMY; }
	virtual void	HandleCollision(GameObject* pOther)	override;
	virtual int		GetEnemyType()	const { return ENEMY_ELF; }

	virtual bool DoAttack();
	virtual void Attack();
	void MoveTowardsPlayer();
private:
	float shootCooldown = 0.0f;
};